<?php
class Group extends AppModel {
	var $name = 'Group';
	var $actsAs = array('Acl' => array('type' => 'requester'));
	
	function parentNode() {
		return null;
	}
		
	var $validate = array(
		'name' => array(
			'notempty' => array(
				'rule' => array('notempty')
			)
		)
	);

/**
* START ASSOCIATION INFORMATION
******************************************************************************
*/

	var $hasMany = array(
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'group_id',
		)
	);

}
